//
//  BangoConstants.h
//  Bango
//


#define SDK_TYPE 3

#define SDK_VERSION 1.0

#define POST_RESPONSE_SUCCESS @"OK"
#define POST_RESPONSE_SUCCESS_WITH_MINOR_ERRORS @"OK_WITH_ERRORS"

#define ERROR_TAG @"BANGO_INAPP_ANALYTICS"

#define VIDEO_PARAMETERNAME @"BGO_VIDEOTYPE"
#define VIDEO_LIVEPARAMETER @"LIVE"
#define VIDEO_ONDEMANDPARAMETER @"ONDEMAND"

#define POSTDELAY_SESSIONEND 10000L

#define WIFI_CONNECTION -999

#define UNKNOWN_VERSION @"Unknown"

#define ERROR_NONE 0
#define ERROR_USER 1
#define ERROR_INTERNAL_CRITICAL -1
#define ERROR_INTERNAL_WARNING -2


#define SETTING_POST_URL @"https://bango.net/appanalytics/"
// TODO: Delete these below once finished testing
// this is used in the andorid code - does not seem to work for us
#define SETTING_POST_URL_USED_IN_ANDROID @"http://bango.com/InAppAnalyticsWeb/service.aspx"
#define SETTING_POST_URL_DEBUG @"https://bango.net/appanalytics/debug/"
#define SETTING_POST_DEV @"http://dev.bango.org/AppAnalytics/" 

#define SETTING_USEOFFLINESTORAGE YES
#define SETTING_LOGEVENTS YES
#define SETTING_SESSION_RESUME_PERIOD 10

#define DATETIME_FORMAT @"yyyy-MM-dd'T'HH:mm:ss.SSS"

#define CONNECTION_TYPE_WIFI @"WIFI"
#define CONNECTION_TYPE_OPERATOR @"OPERATOR"
#define CONNECTION_TYPE_OTHER @"OTHER"